package com.woniuxy.light_smart.mapper;

import com.woniuxy.light_smart.dto.LightPoleDto;
import com.woniuxy.light_smart.entity.LightPole;
import com.woniuxy.light_smart.vo.LightPoleVo;
import com.woniuxy.light_smart.vo.PointVo;

import java.util.List;

/**
* @author asus
* @description 针对表【light_pole】的数据库操作Mapper
* @createDate 2022-12-06 15:45:42
* @Entity com.woniuxy.light_smart.entity.LightPole
*/
public interface LightPoleMapper {
    List<LightPole> sele();
    int deleteByPrimaryKey(Long id);

    int del(String id);

    int insert(LightPole record);

    int insertSelective(LightPole record);

    LightPole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LightPole record);

    int updateByPrimaryKey(LightPole record);


    /**
     * 根据UUID和区域查询
     * @return
     */
    List<LightPoleVo> selByNameAndArea(LightPoleDto lightPoleDto);

    /**
     * 查坐标
     */
    List<LightPoleVo> selXy();
}
